package com.adon.ar.test;

import java.util.ArrayList;
import java.util.List;

public class OriginalParameter {
	
	private int originalX ;
	private int originalY ;
	private int originalAngle ;
	
	private int angleLimit = 25;
	
	public OriginalParameter (int x ,int y ,int angle){
		originalX = x;
		originalY = y;
		originalAngle = angle;
	}
	
	public OriginalParameter (){
	
	}
	
	public void setPosX(int x){
		originalX = x;
	}
	
	public void setPosY(int y){
		originalY = y;
	}
	
	public void setPosXY(int x, int y){
		originalX = x;
		originalY = y;
	}
	
	public int getPosX(){
		return originalX;
	}
	
	public int getPosY(){
		return originalY;
	}
	
	public int getAngle(){
		return originalAngle;
	}
	
	public void setAngle(int angle){
		if (angle > -angleLimit && angle < angleLimit) {
			originalAngle = angle;
		}
		else{
			originalAngle = 0;
		}
	}
	
}
